<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	
%>
<link rel="stylesheet" type="text/css" href="../css/common.css" ></link>
<script type="text/javascript">

	$("#button").click(function() {
		var prid = $("#approveNum").val();
		
		window.memDocs[id] = {
				id:			prid,
				projName:	$("#projName").val(),
				projOrg:	$("#projOrg").val(),
				investScale:	$("#investScale").val(),
				investSource:	$("#investSource").val(),
				projType:		$("#projType").val(),
				projContent:	$("#projContent").val(),
				projAddr:		$("#projAddr").val(),
				projArea:		$("#projArea").val(),
				startDate:		$("#startDate").val(),
				endDate:		$("#endDate").val(),
				cashupDate:		$("#cashupDate").val(),
				setupDate:		$("#setupDate").val(),
				approveNum:		prid
				
		};

		$.simpleTip('成功保存');
		window.topWindow.close();
		window.location = "<%=basePath%>admin/projectMng/projMng.jsp";/*none*/
	});
</script>
<div style="width:800px;">
<form action="" enctype="multipart/form-data" name="gra_report_service">
<h2 class="tableTitle">工程建设项目立项登记</h2>
<table class="cssrain service" cellpadding="0" cellspacing="0" style="width:100%;">
  <tr>
    <td >批准文号</td>
    <td ><input type="text" name="textfield" id="approveNum" /></td>
    <td height="20">项目名称</td>
    <td ><input type="text" name="textfield" id="projName" /></td>

  </tr>
  <tr>
    <td >项目类别</td>
    <td ><input type="text" name="textfield" id="projType" /></td>
     <td height="20">立项时间</td>
    <td ><input type="text" name="textfield" id="startDate" /></td>
  </tr>
  <tr>
    <td height="20">建设单位</td>
    <td ><input type="text" name="textfield" id="projOrg" /></td>
    <td height="20">用地地点</td>
    <td><input type="text" name="textfield" id="projAddr" /></td>
  </tr>
  <tr>
    <td >用地面积（平方米）</td>
    <td ><input type="text" name="textfield" id="projArea" /></td>
    <td height="20">开工建设时间</td>
    <td ><input type="text" name="textfield" id="startDate" /></td>
  </tr>
  <tr>
    <td height="20">竣工移交时间</td>
    <td ><input type="text" name="textfield" id="endDate" /></td>
    <td height="20">竣工结算时间</td>
    <td ><input type="text" name="textfield" id="cashupDate" /></td>
  </tr>
  <tr>
    <td width="110" height="20">资金来源</td>
    <td ><input type="text" name="textfield" id="investSource" /></td>
    <td width="110" height="20">投资规模（万元）</td>
    <td ><input type="text" name="textfield" id="investScale" /></td>
  </tr>
  <tr>
    <td width="110" height="20">已完成投资（万元）</td>
    <td ><input type="text" name="textfield" id="invested" /></td>
    <td width="110" height="20"></td>
    <td ></td>
  </tr>
  <tr >
    <td>建设内容</td>
    <td colspan="7"><textarea name="textarea2" id="projContent" cols="45" rows="5"></textarea></td>
  </tr>
  <tr>
    <td height="20">经办人</td>
    <td ><input type="text" name="textfield" id="trustee" /></td>
    <td height="20">联系电话</td>
    <td><input type="text" name="textfield" id="trusteePhone" /></td>
  </tr>
  <tr>
    <td height="20">分管领导</td>
    <td ><input type="text" name="textfield" id="leader" /></td>
    <td height="20">联系电话</td>
    <td><input type="text" name="textfield" id="leaderPhone" /></td>
  </tr>
</table>
</form>
</div>